package leaf.cloud.common.massage.entity;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 微信返回值实体类
 *
 * @author yzh
 * @since 2022/7/1 15:15
 */
@Getter
@Setter
public class WechatResult {
    @JSONField(name = "errcode")
    private int errCode;
    @JSONField(name = "errmsg")
    private String errMsg;
    @JSONField(name = "access_token")
    private String accessToken;
    @JSONField(name = "ticket")
    private String ticket;
    @JSONField(name = "expires_in")
    private int expiresIn;

    @JSONField(name = "department")
    private List<WechatDepartment> department;
    @JSONField(name = "userlist")
    private List<WechatPersonnel> userlist;
}
